package com.edais.service.imp.gift;

import com.edais.domain.gift.Gift;
import com.edais.persistence.gift.GiftMapper;
import com.edais.service.UserService;
import com.edais.service.gift.GiftService;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 礼品ServiceImpl
 * Created by haoyx on 2016/11/10.
 */
@Service
public class GiftServiceImpl implements GiftService {

    private static final Logger logger = Logger.getLogger(GiftServiceImpl.class);

    @Autowired
    private GiftMapper giftMapper;

    @Override
    public Gift selectById(Long id) {
        return this.giftMapper.selectById(id);
    }

}
